package com.dk.mapper;

import com.dk.pojo.SysAutoCodeRule;
import com.dk.pojo.SysAutoCodeRuleExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface SysAutoCodeRuleMapper {
    int countByExample(SysAutoCodeRuleExample example);

    int deleteByExample(SysAutoCodeRuleExample example);

    int deleteByPrimaryKey(Long ruleId);

    int insert(SysAutoCodeRule record);

    int insertSelective(SysAutoCodeRule record);

    List<SysAutoCodeRule> selectByExample(SysAutoCodeRuleExample example);

    SysAutoCodeRule selectByPrimaryKey(Long ruleId);

    int updateByExampleSelective(@Param("record") SysAutoCodeRule record, @Param("example") SysAutoCodeRuleExample example);

    int updateByExample(@Param("record") SysAutoCodeRule record, @Param("example") SysAutoCodeRuleExample example);

    int updateByPrimaryKeySelective(SysAutoCodeRule record);

    int updateByPrimaryKey(SysAutoCodeRule record);

    void deleteAllRuleId(@Param("ruleIds") List<String> ruleIds);
}